package com.zy.modules.oss.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;



/**
 * 文件上传
 */
@Entity
@Table(name = "sys_oss")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SysOssEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	@Id
	@GeneratedValue
	private Long id;
	//URL地址
	private String url;
	//创建时间
	private Date createDate;


}
